package cn.gson.springboot.model.service;

import cn.gson.springboot.model.dao.StorageDetailDao;
import cn.gson.springboot.model.mapper.StorageDetailMapper;
import cn.gson.springboot.model.pojos.Storage;
import cn.gson.springboot.model.pojos.StorageDetail;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class StorageDetailService {
    @Autowired
    StorageDetailMapper stoDetailMapper;
    @Autowired
    StorageDetailDao stoDao;

    public List<StorageDetail> selectStoDetailsByStoId(Integer stoId) {
        return stoDetailMapper.selectStoDetailsByStoId(stoId);
    }


}
